//
//  AddCity.h
//  UIA段项目 墨家天气
//
//  Created by dllo on 15/8/20.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BackTo.h"
#import "BJGridItem.h"
//@protocol AddCityDelegate;
@interface AddCity : UIViewController<UIScrollViewDelegate,BJGridItemDelegate,UIGestureRecognizerDelegate>
{
    NSMutableArray *gridItems;
    BJGridItem *addbutton;
    int page;
    float preX;
    BOOL isMoving;
    CGRect preFrame;
    BOOL isEditing;
    UITapGestureRecognizer *singletap;
    //    CGRect MovingToFrame;
    //    CGRect MovingFromFrame;
    //    NSInteger MovingToIndex;
    //    NSInteger MovingFromIndex;
}
@property (nonatomic,retain)UIImageView *background;
@property (nonatomic,retain)UIScrollView *scroll;
- (void)Addbutton;



@property (nonatomic,retain)BackTo *model;
@property (nonatomic,retain)NSMutableDictionary *dic;
@property (nonatomic,copy)NSString *cityName;
@property (nonatomic,copy)NSString *cityId;
@property (nonatomic,copy)NSString *backImage;
@property (nonatomic,retain)NSMutableArray *inserArr;   //  给每一个数据添加一个 号码
@property (nonatomic,retain)NSArray *reciveArr;
@property (nonatomic,retain)NSURL *backUrl;


@end
